# i = 0 
# while i < 3 :
#     print('第',i + 1,'次输出：','我是河南理工大学的学生。')
#     i = i + 1
# s = '我是河南理工大学的学生。'
# for i in range(1,4) :
#     # print('第',i ,'次输出：',s)
#     # print(f'第{i}次输出：{s}')
#     print('第{}次输出:{}'.format(i,s))

# try :
#     num = eval(input('请输入数字：'))
#     print(num**2) 
# except :
#     print('输入内容错误请重新输入')

# try :
#     alp = 'ABCDEFGHIGKLMNOPQRSTUVWXYZ'
#     idx = eval(input('请输入一个整数：'))
#     print(alp[idx - 1])
# except NameError :
#     print('输入类型错误')
# else :
#     print('程序正常执行')
# finally :
#     print('感谢使用本程序')




# i = 6
# n = 1
# while True :
#     guss_num = eval(input('请输入要猜的数字(0~9)：'))
#     if guss_num != range(0,10) :
#         print('输入的格式有误请重输入')
#     elif guss_num == i :
#         print(f'预测了{n}次,你猜中了!')
#         pass
#     elif guss_num < i :
#         print('遗憾，太小了')
#         n += 1
#     elif guss_num > i :
#         print('遗憾，太大了')
#         n += 1

str = input('请输入任意字符：')
list =[]
for i in str :
    if type(i) == int :
        list.append(i)
        a = len(list)
        print(a)

print(len([1,2,3]))



